package com.shiro.service;


import com.shiro.entity.SysRolePermissionEntity;

import java.util.List;
import java.util.Map;

/**
 * 角色-权限关联表
 * 
 * @author zhiyuan
 * @email tianzhiyuanemail@163.com
 * @date 2018-12-04 17:17:12
 */
public interface SysRolePermissionService  {

    SysRolePermissionEntity queryObject(Integer id);

    List<SysRolePermissionEntity> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void save(SysRolePermissionEntity sysRolePermission);

    void update(SysRolePermissionEntity sysRolePermission);

    void delete(Integer id);

    void deleteBatch(Integer[] ids);
}
